package com.xxxx.rpc.service;


import com.xxxx.common.base.RespBean;

import com.xxxx.common.result.BaseResult;

import com.xxxx.common.result.BaseResult;
import com.xxxx.rpc.vo.CartResult;
import com.xxxx.rpc.vo.CartVo;
import com.xxxx.sso.pojo.Admin;


//购物车服务
public interface CartService {

    //加入购物车
    BaseResult addCart(CartVo cartVo, Admin admin);

    //查询购物车的数量
    Integer getCartNum(Admin admin);
   //获取购物车列表
    CartResult getCartList(Admin admin);
    //清除购物车
    BaseResult clearCart(Admin admin);
}
